package cn.samler.project.guestbook.mapper;

import cn.samler.project.guestbook.entity.User;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface UserMapper {
    int insert(User user);
    User findById(int id);

    User findByUsername(String username);

    int updateStatus(User user);
}
